.row {
    clear: both;
    overflow: hidden;
    margin: 10px 0;
}

.row label {
    float: left;
    width: 150px;
    padding: 10px 0 8px;
}

.row.required label {
}

.row.error label {
    color: #fb3f3f;
}

.row .line {
    float: left;
    padding: 2px;
}

.row .line input[type='text'],
.row .line input[type='password'] {
    width: 300px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

.row .line select {
    width: 312px;
    border: 1px solid #ccc;
    padding: 4px 5px;
    background: #fff; /* Linux makes this gray */
    border-radius: 5px;
    -moz-border-radius: 5px;
}

.required_text {
    text-align: center;
}


/* Action menu */
.action-menu_wrapper {
    clear: both;
}


/* Errors */
.error_outer_wrapper {
    padding-bottom: 10px;
}

.error_outer_wrapper h3 {
    color: #fb3f3f;
    margin: 0;
    margin-top: 10px;
}

.error_outer_wrapper ul {
    padding: 0;
    margin: 0 20px;
    list-style-type: none;
}

.error_outer_wrapper ul li {
    color: #fb3f3f;
}






/** Mobile styling **/
@media only screen and (max-width: 640px) {

    .row {
        clear: both;
        overflow: hidden;
        padding: 5px 0;
        padding-right: 2px;
    }

    .row label {
        width: auto;
        margin-right: 0;
        padding: 5px 0;
    }

    .row .line {
        float: none;
        clear: left;
        overflow: hidden;
        width: 100%;
    }

    .row input[type=text],
    .row input[type=password] {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .inline .row input[type=text],
    .inline .row input[type=password] {
        max-width: 100px;
    }

    .row select {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .inline .row select {
        max-width: 100px;
    }

    .row .form_calendar select,
    .row .form_time select {
        float: left;
        width: auto;
        margin-right: 5px;
    }
}